IMPORTANT
The
ATSUAttributeTag type also defines style run attribute tag constants; see
Style Run Attribute Tag Constants for a description of these tags. Note that if you pass style run attribute tags to functions that get, set, or remove text layout attribute values, the function will return the result code
kATSUInvalidAttributeTagErr.
The following constant descriptions assume horizontal text. If you are setting or getting the text layout attribute of vertical text, you should interpret these values accordingly.
enum {
kATSULineWidthTag = 1L,
kATSULineRotationTag = 2L,
kATSULineDirectionTag = 3L,
kATSULineJustificationFactorTag = 4L,
kATSULineFlushFactorTag = 5L,
kATSULineBaselineValuesTag = 6L,
kATSULineLayoutOptionsTag = 7L,
kATSULineAscentTag = 8L,
kATSULineDescentTag = 9L,
kATSULineLanguageTag = 10L,
kATSULineTextLocatorTag = 11L,
kATSUMaxLineTag = 12L
};
typedef UInt32 ATSUAttributeTag;